﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Domain.Material_Management
{
    /// <summary>
    /// 基础数据-物料管理-产品物料
    /// </summary>
    [Table("productmaterialsinfo")]
    public class ProductMaterialsModel:AuditEntity
    {
        /// <summary>
        /// 产品物料编码
        /// </summary>
        public string ProductMaterialsCode { get; set; }
        /// <summary>
        /// 产品物料名称
        /// </summary>
        public string ProductMaterialsName { get; set; }
        /// <summary>
        /// 产品物料类型
        /// </summary>
        public string ProductMaterialsType{ get; set; }
        /// <summary>
        /// 产品物料规格型号
        /// </summary>
        public string ProductMaterialsSpecs { get; set; }
        /// <summary>
        /// 产品物料单位
        /// </summary>
        public string ProductMaterialsUnit { get; set; }
        /// <summary>
        /// 产品物料数量
        /// </summary>
        public long ProductMaterialsCount { get; set; }
        /// <summary>
        /// 产品物料预警
        /// </summary>
        public string ProductMaterialsforewarn { get; set; }
        /// <summary>
        /// 产品物料描述
        /// </summary>
        public string ProductMaterialsDesc { get; set; }
        /// <summary>
        /// 所属物料群组外键
        /// </summary>
        public long MaterialGroupId { get; set; }
        /// <summary>
        /// 所属工艺流程外键
        /// </summary>
        public long ProcessFlowId { get; set; }
    }
}
